const app = getApp()
import {list} from '../../videos/images'
Page({
  data: {
    navIndex:1,
    list:list,
  },
  onLoad: function () {
    console.log('Welcome to Mini Code')
  },
  checkNav(e){
    //console.log()
    this.setData({
      navIndex:e.currentTarget.dataset.index
    })
  },
  navTo(e){
    tt.navigateTo({
      url:'/pages/preview/preview'
    })
  }
})
